package cn.wl;

public class AjaxResult {
    private Boolean isSuccess = true;
    private String message;

    public Boolean getSuccess() {
        return isSuccess;
    }

    public void setSuccess(Boolean success) {
        isSuccess = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public AjaxResult(String message) {
        this.isSuccess = false;
        this.message = message;
    }
    public AjaxResult() {
        this.message = "操作成功";
    }

}
